package com.ke.forum.forumapi.controller;


import com.ke.forum.common.common.Result;
import com.ke.forum.forumapi.service.SectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 珂
 * @since 2022-05-22
 */
@RestController
@RequestMapping("/section")
public class SectionController {

    @Autowired
    SectionService sectionService;

    @GetMapping("/listMyStarSection")
    public Result listMyStarSection(){
        return sectionService.listMyStarSection();
    }
}

